using System;
using System.Net;
using System.Net.Sockets;
namespace BMC.ARSystem
{
	internal class MyTcpListener : TcpListener
	{
		public Socket MyServer
		{
			get
			{
				return base.get_Server();
			}
		}
		public MyTcpListener(IPEndPoint localEP) : base(localEP)
		{
		}
		public MyTcpListener(IPAddress localaddr, int port) : base(localaddr, port)
		{
		}
		public MyTcpClient AcceptTcpClient()
		{
			Socket myClient = base.get_Server().Accept();
			return new MyTcpClient
			{
				MyClient = myClient,
				MyActive = true
			};
		}
	}
}
